package com.commerceE.dao.impl;

import java.util.List;

import com.commerceE.common.dao.GenericIBatisDaoImpl;
import com.commerceE.dao.OrderItemDao;
import com.commerceE.domain.OrderItem;

public class OrderItemDaoImpl extends GenericIBatisDaoImpl<OrderItem> implements OrderItemDao{

	@Override
	public String getNAMESPACE() {
		return OrderItem.class.getName();
	}
	
	public List<OrderItem> getOrderItemLisByOrderId(Long orderId){
		return getSqlSession().selectList(getNAMESPACE() + ".getOrderItemLisByOrderId", orderId);
	}
}
